#pragma once

class CListBox;
class CTradeRule;
class CTradeOperator;
class CTradeManager
{
public:
	CTradeManager(void);
	~CTradeManager(void);


public:

	void StartTrade(CTradeOperator* pTradeOp, int nMoney, CTradeRule* pRule, int nBeginTime, int nEndTime, bool bOverlap);

private:
	int m_nMoney;
	int m_nMoney2;
	int m_nStock;
};

extern CTradeManager g_objTradeManager;